package com.itheima.core;

import java.util.List;

public interface BaseDao<T> {
    List<T> findAll() throws Exception;
    T findById(String id) throws Exception;
    int save(T t)throws Exception;
    int update(T t)throws Exception;
    int delete(String id)throws Exception;


}
